/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.gac.ext.polynomialproblem;

import org.gac.api.genetics.FitnessFunction;
import org.gac.api.genetics.ProblemDefinition;
/**
 *
 * @author Tomek
 */
public class Polynomial implements ProblemDefinition {

    private FitnessFunction _function = new PolynomialFitnessFunction();
    public FitnessFunction getFitnessFunction()
    {
        return _function;
    }

    public int getMinChromosomeSize()
    {
        return 10;
    }

    public int getMaxChromosomeSize()
    {
        return 20;
    }

    public void configure()
    {
        return;
    }

    public String getName()
    {
        return "Polynomial root finding";
    }

}
